package kgame5.pbe.atlantic.event {
	import flash.events.Event;

	/**
 * @author kk
 * 这个还没启用，因为KEvent已经够用了
 */
public class FSMEvent extends Event{
	public static const TYPE:String="FSMEvent";
	
	public static const NAME_PLAY_ANIM:String="NAME_PLAY_ANIM";//播放制定动画
	public static const NAME_CHANGE_DIR:String="NAME_CHANGE_DIR";//切换方向
	public static const NAME_CHANGE_FORM:String="NAME_CHANGE_FORM";//改变形态
	
	public static const NAME_CHANGE_FSM_STATE:String="NAME_CHANGE_FSM_STATE";//切换某个状态机的状态
	
	
	//___________________Property_____________________
	
	//这两个，参考pureMVC Inotifycation.getName(),getBody();
	public var name:String;//具体名称
	public var data:Object;//值
	//____________________Method__________________
	public function FSMEvent(p_name:String,p_data:Object=null){
		super(TYPE);
		name=p_name;
		data=p_data;
	}
	public override function clone():Event{
		return new FSMEvent(name,data);
	}
}
}
